package com.ant.xmla.datacrawling.utils.result;

/**
* @Description:返回结果集对象
* @Author:wkl
* @Date:2020/9/4
* @param:
* @return:
*/
public class ResultUtils {

    private String code;
    private String message;
    private String result;
    private int  resultCode;

    public ResultUtils() {
        super();
    }

    public ResultUtils(String code, String message) {
        super();
        this.code = code;
        this.message = message;
    }
    public ResultUtils(int resultCode, String message,String result) {
        this.resultCode = resultCode;
        this.message = message;
        this.result=result;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    @Override
    public String toString() {
        return "{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", result='" + result + '\'' +
                ", resultCode=" + resultCode +
                '}';
    }
}
